package com.hc.springboot.many;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "hc")
public class HcReceiver1 {

	@RabbitHandler
	public void process(String hc) {
		System.out.println("Receiver1: " + hc);
	}
}
